.okr_list_col_wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
  line-height: 30px;
  :global {
    .ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn
      .ant-input {
      resize: none;
    }
    .ant-input-affix-wrapper .ant-input:not(:last-child) {
      padding-right: 0;
    }
  }
}
.okr_list_row_box {
  position: relative;
  width: 100%;
  // .delete_button {
  //     position: absolute;
  //     right: -26px;
  //     top: 8px;
  // }
  .kr_relation_wrap {
    float: right;
    margin: 5px -90px;
    padding: 2px 5px;
    border: 1px solid rgba(24, 144, 255, 0.5);
    border-radius: 6px;
    cursor: pointer;
  }
  :global {
    .ant-progress-circle .ant-progress-inner {
      width: 25px !important;
      height: 25px !important;
      font-size: 0 !important;
    }
    .ant-rate-star {
      color: #53acfe;
    }
  }
}
.okr_err {
  // display: block;
  margin-bottom: 8px;
  margin-left: 45px;
  color: #f5222d;
  font-size: 14px;
  line-height: 23px;
}
.kr_label {
  display: inline-block;
  width: 50px;
  color: rgba(24, 144, 255, 0.7);
  text-align: center;
  border-radius: 4px;
}
.kr_label_special {
  /* margin-top: 8px; */
  width: 40px;
  height: 20px;
  margin: 8px 5px 0 5px;
  color: rgb(255, 255, 255);
  line-height: 20px;
  background: rgba(24, 144, 255, 0.7);
  border-radius: 5px;
}
.kr_table_label {
  display: inline-block;
  width: 40px;
  margin-right: 5px;
  color: rgb(255, 255, 255);
  text-align: center;
  background: #53acfe;
  border-radius: 5px;
}
.components_table_demo_okr {
  :global {
    .ant-table-thead > tr > th,
    .ant-table-tbody > tr > td {
      padding: 5px 0;
    }
    .ant-table-row-expand-icon {
      display: none !important;
    }

    .no-expend-row + .ant-table-expanded-row {
      //   display: none !important;
      td {
        padding: 0;
      }
    }
    .ant-table-tbody > tr > td {
      border-bottom: none;
    }
    tr.ant-table-expanded-row,
    tr.ant-table-expanded-row:hover {
      background: #fff;
    }
    .ant-rate-star {
      color: #53acfe;
    }
    .ant-rate {
      font-size: 15px;
    }
    .ant-col {
      margin: 7px 0;
      text-align: center;
    }
  }
}
.table_okr_oname {
  // display: -webkit-box;
  overflow: hidden;
  /* autoprefixer: ignore next */
  // -webkit-box-orient: vertical;
  // -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  .table_okr_name_o {
    display: inline-block;
    margin-right: 5px;
    padding: 0 5px;
    color: #ffffff;
    font-weight: 700;
    background: #fea253;
    border-radius: 5px;
  }
}
.relation_wrap_box {
  .relation_label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  :global {
    .ant-checkbox {
      vertical-align: unset;
    }
    .ant-list-items {
      max-height: 400px;
      overflow: auto;
    }
  }
  .relation_label_left01 {
    display: block;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .relation_label_left02 {
    display: block;
    max-width: 60px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}
.relation_left_empty {
  :global {
    .ant-list-empty-text {
      min-height: 247px;
    }
  }
}
.card_wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  .outer_line_border {
    position: absolute;
    top: -15px;
    // left: 180px;
    left: 50%;
    height: 1px;
    background: #cccccc;
    transform: translateX(-50%);
  }
  :global {
    .ant-tooltip {
      max-width: none;
      background: transparent;
    }
    .ant-tooltip-inner {
      padding: 0;
      color: #000000;
      background: transparent;
      box-shadow: none;
    }
    .ant-tooltip-placement-bottom,
    .ant-tooltip-placement-bottomLeft,
    .ant-tooltip-placement-bottomRight {
      padding-top: 30px;
    }
    .ant-tooltip-arrow {
      display: none;
    }
  }
}
.card_wrap_item,
.card_wrap_item_level {
  position: relative;
  flex: 0 0 300px;
  box-sizing: border-box;
  width: 300px;
  margin: 0 5px;
  padding: 20px;
  border: 1px solid #cccccc;
  border-radius: 10px;
  .card_top {
    position: absolute;
    top: -10px;
    left: 50%;
    display: block;
    width: 20px;
    height: 20px;
    text-align: center;
    transform: translateX(-50%);
    cursor: pointer;
  }
  .card_bottom {
    position: absolute;
    bottom: -10px;
    left: 50%;
    display: block;
    width: 20px;
    height: 20px;
    text-align: center;
    transform: translateX(-50%);
    cursor: pointer;
  }
  .line_bottom {
    position: absolute;
    bottom: -15px;
    left: 50%;
    display: block;
    width: 1px;
    height: 15px;
    text-align: center;
    background: #cccccc;
    transform: translateX(-50%);
    cursor: pointer;
  }
  .line_top {
    position: absolute;
    top: -15px;
    left: 50%;
    display: block;
    width: 1px;
    height: 15px;
    text-align: center;
    background: #cccccc;
    transform: translateX(-50%);
    cursor: pointer;
  }
  .vertical_bottom {
  }
  :global {
    .ant-input-group-addon {
      padding: 0;
      background: #ffffff;
      border: none;
      border-bottom: 1px solid #d9d9d9;
      border-radius: 0;
    }
    .ant-input {
      width: 50px;
      max-height: 25px;
      padding: 0;
      background: #ffffff;
      border: none;
      border-bottom: 1px solid #d9d9d9;
      border-radius: 0;
    }
    .ant-input:focus {
      box-shadow: none;
    }
    .ant-input:not(:last-child) {
      padding-right: 0;
    }

    .ant-input-affix-wrapper .ant-input-suffix {
      right: 0;
    }
    .ant-input[disabled] {
      color: #cccccc;
      background: #ffffff;
    }
  }
}
.card_level3_item {
  // justify-content: center;
  // position: relative;
  // margin-bottom: 40px;
  position: absolute;
  top: calc(100% + 40px);
  left: 50%;
  display: flex;
  transform: translateX(-50%);
  // bottom: calc(-100% - 40px);
  .line_border {
    position: absolute;
    top: -15px;
    left: 155px;
    height: 1px;
    background: #cccccc;
  }
}
.card_o_name_wrap {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.card_o_name_label,
.card_o_name_label_inner {
  margin-right: 5px;
  color: #1890ff;
  font-weight: 700;
}
.card_o_name_label_inner {
  margin-left: 28px;
  font-weight: 400;
}
:global {
  .ant-list-header {
    text-indent: 20px;
  }
  .ant-list-items {
    text-indent: 20px;
  }
}
